package cn.dapeng.local;

public class ObjectThreadLocal extends ThreadLocal<String> {

    String string;

    @Override
    protected String initialValue() {
        return "a";
    }

    public static void main(String[] args) {
        ObjectThreadLocal t1 = new ObjectThreadLocal();

        System.out.println(t1.get());
    }
}
